Integrand size = 27, antiderivative size = 595 \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \arcsin (c x))^n \, dx=-\frac {d e^{-\frac {i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (-\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,-\frac {i (a+b \arcsin (c x))}{b}\right )}{16 c^2 \sqrt {1-c^2 x^2}}-\frac {d e^{\frac {i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,\frac {i (a+b \arcsin (c x))}{b}\right )}{16 c^2 \sqrt {1-c^2 x^2}}-\frac {3^{-n} d e^{-\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (-\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,-\frac {3 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}}-\frac {3^{-n} d e^{\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,\frac {3 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}}-\frac {5^{-1-n} d e^{-\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (-\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,-\frac {5 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}}-\frac {5^{-1-n} d e^{\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,\frac {5 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}} \]
[Out]
Time = 0.35 (sec) , antiderivative size = 595, normalized size of antiderivative = 1.00, number of steps used = 12, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {4809, 4491, 3389, 2212} \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \arcsin (c x))^n \, dx=-\frac {d e^{-\frac {i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (-\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (n+1,-\frac {i (a+b \arcsin (c x))}{b}\right )}{16 c^2 \sqrt {1-c^2 x^2}}-\frac {d 3^{-n} e^{-\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (-\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (n+1,-\frac {3 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}}-\frac {d 5^{-n-1} e^{-\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (-\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (n+1,-\frac {5 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}}-\frac {d e^{\frac {i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (n+1,\frac {i (a+b \arcsin (c x))}{b}\right )}{16 c^2 \sqrt {1-c^2 x^2}}-\frac {d 3^{-n} e^{\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (n+1,\frac {3 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}}-\frac {d 5^{-n-1} e^{\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (n+1,\frac {5 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}} \]
[In]
[Out]
Rule 2212
Rule 3389
Rule 4491
Rule 4809
Rubi steps \begin{align*} \text {integral}& = -\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int x^n \cos ^4\left (\frac {a}{b}-\frac {x}{b}\right ) \sin \left (\frac {a}{b}-\frac {x}{b}\right ) \, dx,x,a+b \arcsin (c x)\right )}{b c^2 \sqrt {1-c^2 x^2}} \\ & = -\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int \left (\frac {1}{16} x^n \sin \left (\frac {5 a}{b}-\frac {5 x}{b}\right )+\frac {3}{16} x^n \sin \left (\frac {3 a}{b}-\frac {3 x}{b}\right )+\frac {1}{8} x^n \sin \left (\frac {a}{b}-\frac {x}{b}\right )\right ) \, dx,x,a+b \arcsin (c x)\right )}{b c^2 \sqrt {1-c^2 x^2}} \\ & = -\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int x^n \sin \left (\frac {5 a}{b}-\frac {5 x}{b}\right ) \, dx,x,a+b \arcsin (c x)\right )}{16 b c^2 \sqrt {1-c^2 x^2}}-\frac {\left (d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int x^n \sin \left (\frac {a}{b}-\frac {x}{b}\right ) \, dx,x,a+b \arcsin (c x)\right )}{8 b c^2 \sqrt {1-c^2 x^2}}-\frac {\left (3 d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int x^n \sin \left (\frac {3 a}{b}-\frac {3 x}{b}\right ) \, dx,x,a+b \arcsin (c x)\right )}{16 b c^2 \sqrt {1-c^2 x^2}} \\ & = -\frac {\left (i d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{-i \left (\frac {5 a}{b}-\frac {5 x}{b}\right )} x^n \, dx,x,a+b \arcsin (c x)\right )}{32 b c^2 \sqrt {1-c^2 x^2}}+\frac {\left (i d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{i \left (\frac {5 a}{b}-\frac {5 x}{b}\right )} x^n \, dx,x,a+b \arcsin (c x)\right )}{32 b c^2 \sqrt {1-c^2 x^2}}-\frac {\left (i d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{-i \left (\frac {a}{b}-\frac {x}{b}\right )} x^n \, dx,x,a+b \arcsin (c x)\right )}{16 b c^2 \sqrt {1-c^2 x^2}}+\frac {\left (i d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{i \left (\frac {a}{b}-\frac {x}{b}\right )} x^n \, dx,x,a+b \arcsin (c x)\right )}{16 b c^2 \sqrt {1-c^2 x^2}}-\frac {\left (3 i d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{-i \left (\frac {3 a}{b}-\frac {3 x}{b}\right )} x^n \, dx,x,a+b \arcsin (c x)\right )}{32 b c^2 \sqrt {1-c^2 x^2}}+\frac {\left (3 i d \sqrt {d-c^2 d x^2}\right ) \text {Subst}\left (\int e^{i \left (\frac {3 a}{b}-\frac {3 x}{b}\right )} x^n \, dx,x,a+b \arcsin (c x)\right )}{32 b c^2 \sqrt {1-c^2 x^2}} \\ & = -\frac {d e^{-\frac {i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (-\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,-\frac {i (a+b \arcsin (c x))}{b}\right )}{16 c^2 \sqrt {1-c^2 x^2}}-\frac {d e^{\frac {i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,\frac {i (a+b \arcsin (c x))}{b}\right )}{16 c^2 \sqrt {1-c^2 x^2}}-\frac {3^{-n} d e^{-\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (-\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,-\frac {3 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}}-\frac {3^{-n} d e^{\frac {3 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,\frac {3 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}}-\frac {5^{-1-n} d e^{-\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (-\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,-\frac {5 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}}-\frac {5^{-1-n} d e^{\frac {5 i a}{b}} \sqrt {d-c^2 d x^2} (a+b \arcsin (c x))^n \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{-n} \Gamma \left (1+n,\frac {5 i (a+b \arcsin (c x))}{b}\right )}{32 c^2 \sqrt {1-c^2 x^2}} \\ \end{align*}
Time = 1.55 (sec) , antiderivative size = 464, normalized size of antiderivative = 0.78 \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \arcsin (c x))^n \, dx=-\frac {15^{-1-n} d^2 e^{-\frac {5 i a}{b}} \sqrt {1-c^2 x^2} (a+b \arcsin (c x))^n \left (\frac {(a+b \arcsin (c x))^2}{b^2}\right )^{-3 n} \left (2\ 15^{1+n} e^{\frac {4 i a}{b}} \left (\frac {i (a+b \arcsin (c x))}{b}\right )^n \left (\frac {(a+b \arcsin (c x))^2}{b^2}\right )^{2 n} \Gamma \left (1+n,-\frac {i (a+b \arcsin (c x))}{b}\right )+\left (-\frac {i (a+b \arcsin (c x))}{b}\right )^n \left (2\ 15^{1+n} e^{\frac {6 i a}{b}} \left (\frac {(a+b \arcsin (c x))^2}{b^2}\right )^{2 n} \Gamma \left (1+n,\frac {i (a+b \arcsin (c x))}{b}\right )+3 \left (5^{1+n} e^{\frac {2 i a}{b}} \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{2 n} \left (\frac {(a+b \arcsin (c x))^2}{b^2}\right )^n \Gamma \left (1+n,-\frac {3 i (a+b \arcsin (c x))}{b}\right )+5^{1+n} e^{\frac {8 i a}{b}} \left (\frac {(a+b \arcsin (c x))^2}{b^2}\right )^{2 n} \Gamma \left (1+n,\frac {3 i (a+b \arcsin (c x))}{b}\right )+3^n \left (\left (-\frac {i (a+b \arcsin (c x))}{b}\right )^n \left (\frac {i (a+b \arcsin (c x))}{b}\right )^{3 n} \Gamma \left (1+n,-\frac {5 i (a+b \arcsin (c x))}{b}\right )+e^{\frac {10 i a}{b}} \left (\frac {(a+b \arcsin (c x))^2}{b^2}\right )^{2 n} \Gamma \left (1+n,\frac {5 i (a+b \arcsin (c x))}{b}\right )\right )\right )\right )\right )}{32 c^2 \sqrt {d-c^2 d x^2}} \]
[In]
[Out]
\[\int x \left (-c^{2} d \,x^{2}+d \right )^{\frac {3}{2}} \left (a +b \arcsin \left (c x \right )\right )^{n}d x\]
[In]
[Out]
\[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \arcsin (c x))^n \, dx=\int { {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} {\left (b \arcsin \left (c x\right ) + a\right )}^{n} x \,d x } \]
[In]
[Out]
Timed out. \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \arcsin (c x))^n \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \arcsin (c x))^n \, dx=\int { {\left (-c^{2} d x^{2} + d\right )}^{\frac {3}{2}} {\left (b \arcsin \left (c x\right ) + a\right )}^{n} x \,d x } \]
[In]
[Out]
Exception generated. \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \arcsin (c x))^n \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Timed out. \[ \int x \left (d-c^2 d x^2\right )^{3/2} (a+b \arcsin (c x))^n \, dx=\int x\,{\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^n\,{\left (d-c^2\,d\,x^2\right )}^{3/2} \,d x \]
[In]
[Out]